/**
 * Copyright (c) 2010-2020 by skzr.org
 * All rights reserved.
 * @Author <a href="mailto:skzr.org@gmail.com">skzr.org</a>
 * @date 2011-3-14 下午11:40:38
 */
package org.skzr.logging.stereotype;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <ol>
 * 	<li>charset default "UTF-8"<--(缺省编码)</li>
 * 	<li>if value is empty then search Enum.class.getSimpleName()</li>
 * </ol>
 * <br>
 * 	search BaseName.value() path<br>
 * <br>
 * if BaseName.value() not find resource and BaseName.value() not contains '.' then<br>
 *  search order:<br>
 * <ol>
 * 	<li>search Enum.class.getPackage() + "." + BaseName.value() path</li>
 * 	<li>search in the classpath "/"</li>
 * </ol>
 * @author <a href="mailto:skzr.org@gmail.com">skzr.org</a>
 * @version 1.0.0
 * @since JDK1.6
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface BaseName {
	/** 国际化key名称. */
	String value() default "";
	/** 国际化文件编码格式. */
	String charset() default "UTF-8";
}
